home *** CD-ROM | disk | FTP | other *** search
/ Command Post 6 / Command Post 6.iso / towers / delet.bat < prev    next >
DOS Batch File  |  1995-05-09  |  2KB  |  79 lines

  1. @ECHO OFF
  2. CLS
  3. REM              Terry E. Mercer may be reached at:
  4. REM              4184 Hilsinger Road, Phoenix, OR 97535
  5. REM              1-503-535-4194 Voice or 1-503-535-8151 Fax/Modem
  6. REM
  7. REM              Micromedia Publishers, Inc. may be reached at:
  8. REM              505 NE 7th, Grants Pass, OR  97526
  9. REM              1-503-474-1111 or 1-503-471-4133 (both Voice) or
  10. REM              1-503-474-2486 or 1-503-471-8836 (both Fax)
  11. REM
  12. REM
  13. ECHO.
  14. ECHO.
  15. ECHO.
  16. ECHO      This Program is to assist in the UN-Installation of programs
  17. ECHO         found on this CD, using the MMPI & PBG CD Rom Launcher
  18. ECHO                 ══════════════════════════════════════════
  19. ECHO                 WRITTEN BY TERRY E. MERCER c 15 April 1995
  20. ECHO         THIS BATCH PROGRAM IS COPYRIGHT PROTECTED, AND MAY BE USED
  21. ECHO      ONLY AS SPECIFIED BY Terry Mercer or MicroMedia Publishers, Inc.
  22. ECHO.
  23. ECHO.
  24. ECHO      NOTE: This program can also Un-Install (Delete and Remove)
  25. ECHO            everything it installs! It has done so safely and
  26. ECHO            perfectly on all of our test systems running DOS 6.xx!
  27. ECHO.
  28. PAUSE
  29. cls
  30. IF !%1==! GOTO SORRY
  31. GOTO UNINSTALL
  32.  
  33. :UNINSTALL
  34. IF NOT EXIST C:\DOS\CHOICE.COM GOTO DELET2
  35. ECHO.
  36. ECHO.
  37. ECHO            Are you sure you want to Delete this Program?
  38. ECHO.
  39. CHOICE /c:yn /n /t:Y,60
  40. IF ERRORLEVEL 2 GOTO END
  41. IF ERRORLEVEL 1 GOTO DELET3
  42.  
  43. :DELET2
  44. ECHO.
  45. ECHO.
  46. ECHO       Do you want to Delete this Program from your hard disk?
  47. ECHO.
  48. ECHO       If you DO then press the enter key... if not, hold down
  49. ECHO       the Control (CTRL) key and press the letter C then Y(es).
  50. ECHO.
  51. ECHO.
  52. PAUSE
  53. GOTO NEXT
  54.  
  55. :NEXT
  56. IF NOT EXIST !.BAT GOTO SORRY
  57. ECHO.
  58. ECHO        Please wait... this may take a few mintues, depending on
  59. ECHO        the speed of your computer and hard disk drive.
  60. ECHO.
  61. ATTRIB -R *.* /S
  62. ECHO. Y | DEL *.*
  63. CD\
  64. RD %1
  65. GOTO END
  66.  
  67. :SORRY
  68. ECHO.
  69. ECHO  Sorry, but this program is not working correctly on your computer.
  70. ECHO  Or has been installed to a directory with a name other than ERL.
  71. ECHO  See your DOS manual or consult a smart friend to Un-Install this.
  72. ECHO.
  73. ECHO.
  74. ECHO.
  75. pause
  76. goto end
  77.  
  78. :end
  79.